package com.ms.education.acl.mapper;

import com.ms.education.acl.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2023-02-18
 */
public interface RoleMapper extends BaseMapper<Role> {

    List<String> selectRolesByUserId(Integer userId);

    List<Integer> getUserRole(Integer userId);


}
